package com.clb.moudlelogin

import android.os.Bundle
import android.view.View
import androidx.appcompat.app.AppCompatActivity
import com.alibaba.android.arouter.facade.annotation.Route
import com.alibaba.android.arouter.launcher.ARouter
import com.clb.commonlibrary.route.RouterPath

@Route(path = RouterPath.login_page,name = "登录")
class MainActivity: AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
        ARouter.getInstance().inject(this)
    }

    fun toShare(view: View) {
        ARouter.getInstance().build(RouterPath.share_page).navigation()
    }
}